package yaty.lee.tencent.weibo.modules.t.vo;

import yaty.lee.tencent.weibo.domain.RequestVO;
import yaty.lee.tencent.weibo.util.OAuthPropertiesUtil;

public class CommentVO extends RequestVO {
    private String format;
    private String content;
    private String clientip;
    private double longitude;
    private double latitude;
    private String reid;
    private final int syncflag = OAuthPropertiesUtil.getSyncflag();
    private int compatibleflag = 0;

    public CommentVO() {
        super();
    }

    public CommentVO(String format, String content, String clientip, String reid) {
        super();
        this.format = format;
        this.content = content;
        this.clientip = clientip;
        this.reid = reid;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String getClientip() {
        return clientip;
    }

    @Override
    public void setClientip(String clientip) {
        this.clientip = clientip;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getReid() {
        return reid;
    }

    public void setReid(String reid) {
        this.reid = reid;
    }

    public int getCompatibleflag() {
        return compatibleflag;
    }

    public void setCompatibleflag(int compatibleflag) {
        this.compatibleflag = compatibleflag;
    }

    public int getSyncflag() {
        return syncflag;
    }

    @Override
    public String getReqUrl() {
        return "https://open.t.qq.com/api/t/comment";
    }

}
